package com.xmy.study.mapper;

import com.baomidou.mybatisplus.core.conditions.Wrapper;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.core.toolkit.Constants;
import com.xmy.study.entity.SysSet;
import com.xmy.study.entity.response.Course;
import org.apache.ibatis.annotations.*;

import java.util.List;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author hpiggy
 * @since 2023-08-11
 */
public interface SysSetMapper extends BaseMapper<SysSet> {
    @Select("select * from xmy_erp_db.student_course_view ${ew.customSqlSegment}")
    public abstract List<Course> studentCourse(@Param(Constants.WRAPPER) Wrapper wrapper);
}
